home *** CD-ROM | disk | FTP | other *** search
- /*
- File: Folders.h
-
- Copyright: © 1983-1993 by Apple Computer, Inc.
- All rights reserved.
-
- Version: System 7.1 for ETO #11
- Created: Tuesday, March 30, 1993 18:00
-
- */
-
- #ifndef __FOLDERS__
- #define __FOLDERS__
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
-
- #ifndef __FILES__
- #include <Files.h>
- #endif
-
-
- enum {
-
- kOnSystemDisk = 0x8000
-
-
- #define kCreateFolder true
- #define kDontCreateFolder false
-
- #define kSystemFolderType 'macs' /* the system folder */
- #define kDesktopFolderType 'desk' /* the desktop folder; objects in this folder show on the desk top. */
- #define kTrashFolderType 'trsh' /* the trash folder; objects in this folder show up in the trash */
- #define kWhereToEmptyTrashFolderType 'empt' /* the "empty trash" folder; Finder starts empty from here down */
-
- #define kPrintMonitorDocsFolderType 'prnt' /* Print Monitor documents */
-
- #define kStartupFolderType 'strt' /* Finder objects (applications, documents, DAs, aliases, to...) to open at startup go here */
- #define kAppleMenuFolderType 'amnu' /* Finder objects to put into the Apple menu go here */
- #define kControlPanelFolderType 'ctrl' /* Control Panels go here (may contain INITs) */
- #define kExtensionFolderType 'extn' /* Finder extensions go here */
- #define kFontsFolderType 'font' /* Fonts go here */
- #define kPreferencesFolderType 'pref' /* preferences for applications go here */
- #define kTemporaryFolderType 'temp' /* temporary files go here (deleted periodically, but don't rely on it.) */
- };
-
- #ifdef __cplusplus
- extern "C" {
- #endif
- #if SystemSevenOrLater
- pascal OSErr FindFolder(short vRefNum,OSType folderType,Boolean createFolder,
- short *foundVRefNum,long *foundDirID)
- = {0x7000,0xA823};
- #else
- pascal OSErr FindFolder(short vRefNum,OSType folderType,Boolean createFolder,
- short *foundVRefNum,long *foundDirID);
- #endif
- #ifdef __cplusplus
- }
- #endif
-
- #endif
-